from gevent import pywsgi

from .main import APP
from .database import createDb

if __name__ == '__main__':
    createDb()
    # pywsgi.WSGIServer(('0.0.0.0', 8000), APP).serve_forever()
    APP.run('0.0.0.0', 8000, debug = True)
